home *** CD-ROM | disk | FTP | other *** search
-
- File: IBMTOKEN.DOC
- Auth: Brian Fisher
- Date: October 3 1989
-
- Purp: Notes on IBMTOKEN.COM, the 'Ethernet' packet driver
- for TCP/IP and NCSA Telnet.
-
- ========================================================================
-
- IBMTOKEN is an Ethernet packet driver for the IBM Token Ring
- Adapter card. The IBM Lan support program must be installed before
- you use IBMTOKEN.
-
- CONFIG.SYS - to install the LAN Support program:
-
- device=C:\PCLAN\DXMA0MOD.SYS
- device=C:\PCLAN\DXMC0MOD.SYS
- device=C:\PCLAN\DXMT0MOD.SYS
-
- AUTOEXEC.BAT - to install IBMTOKEN and define NCSA config file:
-
- IBMTOKEN 0x61 0
- SET CONFIGTEL=C:\CONFIG.TEL
-
-
- CONFIG.TEL
-
- myip=xx.yy.zz.qq # put your IP address here
- netmask=255.255.255.0 # use your network mask here
- hardware=packet # tell NCSA to use the packet driver
- # interface
- address=0 # class for packet driver
- ioaddr=0x61 # vector given to IBMTOKEN
-
- mtu=1500 # max IBMTOKEN can transmit
- maxseg=1500 # max IBMTOKEN can receive
- rwin=536 # max if NCSA can't do IP fragments
-
-
- IBMTOKEN:
-
- IBMTOKEN <vector> <adapter>
-
- where vector is the interrupt assigned to the packet driver
- interface
-
- adapter is 0 for the first adapter card, and 1 if the
- second adapter card is to be used.
-
-
-
- When IBMTOKEN installs, the following occurs:
-
- 1) DIR.INITIALIZE is called to initialize the adapter.
- 2) DIR.OPEN.ADAPTER is called to set up buffers for
- IBMTOKEN.
- 3) RECEIVE is called to set up the receive service
- routines.
- 4) DIR.STATUS is called to determine the address of the
- adapter.
-
- If any of these calls fails, the installation is aborted.
-
- IBMTOKEN may not install properly if the token ring adapter
- has been in use by another program, and to closed properly.
- If this is the case, reboot and run IBMTOKEN.
-
-
- OPERATION:
-
- IBMTOKEN translates 'Ethernet' packet driver calls to 802.2 LLC
- format packets for transmission. Currently it supports IP and
- ARP transmissions. RARP and BOOTP probably won't work.
-
- IP packets are sent 'as is'. ARP packets require a minor modification
- before they are sent. The hwr address space value must be changed from
- 1h to 6h. On receive, the driver changes 6h back to 1h. The size (60
- is min for Ether) must be set to 28 or some token hosts won't accept
- the transmission.
-
- Receive packets smaller than 60 bytes are rounded up so the upper
- level will accept them.
-
- Token Ring source routing. When the upper level call back routine
- accepts a packet, its RIF is recorded in a table interal to IBMTOKEN.
- When IBMTOKEN sees the destination address requires a RIF, the
- info is pulled from the table and added to the MAC header for transmit.
-
- IBMTOKEN can handle a maximum of 32 source route entries. One
- default entry is present for the 'broadcast' address. The first
- source route received for an address is assumed to be the shortest.
- Subsequent source routes from the same host are ignored.
-